package com.itmumu.miniwechat.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itmumu.miniwechat.user.domain.dto.SearchContactVo;
import com.itmumu.miniwechat.user.domain.po.User;
import com.itmumu.miniwechat.user.domain.dto.RegisterFormDto;
import com.itmumu.miniwechat.user.domain.vo.response.LoginQrcodeVo;
import com.itmumu.miniwechat.user.domain.vo.response.UserInfoVo;
import me.chanjar.weixin.common.error.WxErrorException;

/**
* @author Frippler
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-12-11 14:54:45
*/
public interface UserService extends IService<User> {

    LoginQrcodeVo generateLoginQrcode() throws WxErrorException;

    void register(User user);

    LoginQrcodeVo generateEventCode();


    void registerUser(RegisterFormDto registerFormDto);

    UserInfoVo login(String email, String password);

    Integer searchContact(SearchContactVo keyword);

    UserInfoVo getUserInfo(Integer uid);


}
